package com.example.security.exception;

/**
 * Token无效异常
 * 用于处理JWT Token相关的异常情况
 */
public class InvalidTokenException extends RuntimeException {
    
    /**
     * 默认错误信息
     */
    private static final String DEFAULT_MESSAGE = "无效的Token";

    public InvalidTokenException() {
        super(DEFAULT_MESSAGE);
    }

    public InvalidTokenException(String message) {
        super(message);
    }

    public InvalidTokenException(int code, String message) {
        super(message);
    }
} 